<?php
$obj=connect('localhost',112111);
$obj = new Memcache();
$sql = "select * from ddd";
$res = $this->exec($sql);
$obj->set('data',$res);
$data = $obj->get('data');


?>